package com.nmsl.statistic.controller;

import com.nmsl.common.core.domain.AjaxResult;
import com.nmsl.system.exam_project.domain.ExaminationProject;
import com.nmsl.system.exam_project.mapper.ExaminationProjectMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/JwkEaxmp")
public class JwkEaxmpController {
    @Autowired
    private ExaminationProjectMapper examinationProjectMapper;

    @RequestMapping("/getall")
    public AjaxResult getallEx(){
        List<ExaminationProject> examinationProjects = examinationProjectMapper.selectExaminationProjectList(null);
        System.out.println(examinationProjects);
        return AjaxResult.success(examinationProjects);
    }
}
